package com.zyk.scaffold.user.controller.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Description: UpdatePasswordRequ
 * @Author: Shuai.Zhang
 * @Date: 2022-04-26
 */
@Data
@ApiModel("修改密码请求信息")
public class UpdatePasswordRequ {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "旧密码", required = true)
    @NotNull(message = "旧密码不能为空!")
    private String password;

    @ApiModelProperty(value = "新密码", required = true)
    @NotNull(message = "新密码为空!")
    private String newPassword;

    @ApiModelProperty(value = "确认密码", required = true)
    @NotNull(message = "确认密码不能为空!")
    private String confirmPassword;

}
